package com.hmall.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//这个是固定的调用api-service项目上的这个路径里的服务客户端
@EnableFeignClients(basePackages = "com.hmall.api.client")
@MapperScan("com.hmall.demo.mapper")
public class DemoServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoServiceApplication.class, args);
    }

}
